import 'package:flutter/material.dart';
import 'package:news_demo/View/Email/Widget/Index.dart';

import '../../Pojo/Email_Persion_Pojo.dart';

class EmailIn extends StatelessWidget {
  final emailPersion userValue;
  EmailIn({Key? key,required this.userValue }) : super(key: key);


  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(userValue.name),
        titleSpacing: 100,
        leading: GestureDetector(
          child:Icon(Icons.arrow_back,size: 34,),
          onTap:(){
            Navigator.pop(context);
          },
        ),
        actions: [Container(
          margin: EdgeInsets.fromLTRB(0, 0, 8.0, 0),
          child: Icon(Icons.reorder,size: 38,),
        )],
      ),
      body: EmailIndex(),

    );
  }
}
